package com.xyc.manager.goods.bean;

/**
 * 商品类型
 */
public class GoodsTypeBean {


    /**
     * id : 0
     * name : 分类管理
     * open : true
     * pId : -1
     * icon : base.gif
     * url : good!getGoodInfo.ct?flag=1&type_id=01
     * target : foodTable
     */

    /**
     * 类型Id
     */
    private String id;
    /**
     * 类型名称
     */
    private String name;
    /**
     * 是否展开树结构
     */
    private boolean open;
    /**
     * 父节点ID
     */
    private int pId;
    /**
     * t图表
     */
    private String icon;
    /**
     * 链接
     */
    private String url;
    /**
     * 预留
     */
    private String target;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public boolean isOpen() {
        return open;
    }

    public void setOpen(boolean open) {
        this.open = open;
    }

    public int getPId() {
        return pId;
    }

    public void setPId(int pId) {
        this.pId = pId;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getTarget() {
        return target;
    }

    public void setTarget(String target) {
        this.target = target;
    }
}
